package com.ontheroad.activity.model;

import org.mybatis.annotation.Table;

import java.io.Serializable;
import java.util.Date;


/**
 * ActivityJoinApply对象定义
 * <p>
 * 工具自动生成代码
 *
 * @author Admin
 */
@Table(pkId = {"id"}, tabName = "activity_join_apply", notColumn = {"nick", "image","created"})
public class ActivityJoinApplyModel implements Serializable {

    /**
     * uid
     */
    private static final long serialVersionUID = 1L;
    /**  */
    private Integer id;
    /**
     * 活动
     */
    private Integer activityId;
    /**
     * 报名的用户
     */
    private Integer userId;
    /**
     * 报名申请理由
     */
    private String content;
    /**
     * 报名申请状态(0:审核中；1:通过；2:未通过)
     */
    private Integer status;

    /**
     * 活动报名申请时间
     */
    private Date createTime;

    /**
     * 昵称
     */
    private String nick;

    /**
     * 头像
     */
    private String image;

    /**
     * 是否为发起人
     */
    private Boolean created = false;

    /**
     * 取得
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 取得活动
     */
    public Integer getActivityId() {
        return activityId;
    }

    /**
     * 设置活动
     */
    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    /**
     * 取得报名的用户
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置报名的用户
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 取得报名申请理由
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置报名申请理由
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 取得报名申请状态
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置报名申请状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 取得活动报名申请时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置活动报名申请时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Boolean getCreated() {
        return created;
    }

    public void setCreated(Boolean created) {
        this.created = created;
    }
}
